import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/styles/index.scss'	// global css

import App from './App.vue'
import { router } from './router-permission'
import store from '@/store'
import http from '@/tool/axios'


import routePlugin from '@/tool/routePlugin'
import filter from '@/tool/filter'

//svg图标
import '@/icons'

Vue.use(ElementUI, { size: 'small'});
Vue.use(routePlugin)
Vue.use(filter)

Vue.config.productionTip = false
Vue.prototype.$http = http
new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')